﻿@model Model.AppUserList
@{
    ViewBag.Title = "WarrantyTime";
    Layout = "~/Views/Shared/_JQBaseLayOut.cshtml";
}
@using Model

@section JQscriptSection{
    <script src="../../Scripts/viewsScript/WarrantyTime/WarrantyTime.js" type="text/javascript"></script>
    <script src="../../Scripts/viewsScript/Common/MyDialog.js" type="text/javascript"></script>
    <script src="../../Scripts/jqueryeasyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            InitGrid();

        });
    </script>
}

<body style="background-color: ButtonFace; font-size: 17px">
    <div class="easyui-panel" title="查询条件" style="height: 70px; padding: 5px; background: #fafafa; width: 1700px;">
        <form id="query" method="post">
            <table>
                <tr>
                    <td>创建时间:
                    </td>
                    <td>
                        <input class="easyui-datebox" id="StartDate" name="StartDate" style="width: 140px;" />
                    </td>
                    <td>~：
                    </td>
                    <td>
                        <input class="easyui-datebox" id="EndDate" name="EndDate" style="width: 140px;" validtype="compareDate['#StartDate']" />
                    </td>
                    <td></td>
                    <td>
                        <a id="btnSerach" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="InitGrid()">查询</a>
                    </td>
                </tr>
            </table>
        </form>

    </div>
    
    <div>
        <table id="tab_list">
        </table>
    </div>
    <div id="dlg" class="easyui-dialog" style="width: 420px; height: 150px; top: 300px; left: 400px; padding: 2px"
        data-options="closed:true,buttons:'#dlg-buttons',modal:true">
        <form id="location" method="post">
            <table>
                <tr>
                    <td>保质期开始天数:
                    </td>
                    <td>
                        <input id="txtBeginInt" name="txtBeginInt" class="easyui-validatebox" style="width: 154px" data-options="required:true" validtype="integer['#txtBeginInt']" />
                    </td>

                </tr>
                <tr>
                    <td>保质期结束天数:
                    </td>
                    <td>
                        <input id="txtEndInt" name="txtEndInt" class="easyui-validatebox" style="width: 154px" data-options="required:true" validtype="integer['#txtEndInt']" />
                    </td>
                </tr>
                <tr>
                    <td>临保期比例:
                    </td>
                    <td>
                        <input id="txtTimeProportion" name="txtTimeProportion" class="easyui-validatebox" style="width: 100px" data-options="required:true" validtype="floatOrInt['#txtTimeProportion']" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <a id="btnSave" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save'" onclick="save()">保存</a>
                    </td>
                </tr>
            </table>
        </form>
    </div>

</body>



